﻿(()=>{"use strict";var __webpack_modules__={866282:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{AdsLight:()=>AdsLight});var core_js_modules_es6_array_from__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(530522),core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(66108),core_js_modules_es6_object_to_string__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(296253),core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(751876),core_js_modules_es6_array_sort__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(820075),_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(787481),_web_lib_tooltip_utils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(376852),_shared_user_user_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(19331),_shared_lib_site__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(961540),AdsLight={},isVkDomain=document.domain===(0,_shared_lib_site__WEBPACK_IMPORTED_MODULE_8__.getHostName)(),uaLight=navigator.userAgent.toLowerCase(),browserLight={msie6:/msie 6/i.test(uaLight)&&!/opera/i.test(uaLight),msie7:/msie 7/i.test(uaLight)&&!/opera/i.test(uaLight),msie8:/msie 8/i.test(uaLight)&&!/opera/i.test(uaLight)};isVkDomain&&("__adsLoaded"in window||(window.__adsLoaded=vkNow()),window.AdsLight=AdsLight),AdsLight.init=function(){window.vk__adsLight||(window.vk__adsLight={},AdsLight.initUserHandlers(),vk__adsLight.widgetsIds={},vk__adsLight.observersInited=!1,vk__adsLight.publishTimers={},vk__adsLight.windowId=Math.round(1e9*Math.random()+1),vk__adsLight.activeTab=0,vk__adsLight.userEventTime=0,vk__adsLight.wrapVisible=!1,vk__adsLight.imagesTimer=!1,vk__adsLight.reloadTimer=!1,vk__adsLight.updateBlockTimer=!1,vk__adsLight.adsCanShow=1,vk__adsLight.adsSection=!1,vk__adsLight.adsShowed="",vk__adsLight.adsShowedHash=+new Date,vk__adsLight.adsParams=!1,vk__adsLight.updateProgress=0,vk__adsLight.adsShowedAll={},vk__adsLight.loadComplete=!1,vk__adsLight.loaderParams=!1,vk__adsLight.adsIdsApplyNeeded={},vk__adsLight.adsIdsApplyProcess=[],vk__adsLight.adsIdsApplyTimer=!1,vk__adsLight.adsIdsApplyLocked=!1,"onfocusin"in window?window.addEventListener?(window.addEventListener("focusin",vk__adsLight.userHandlers.onFocusWindow,!1),window.addEventListener("focusout",vk__adsLight.userHandlers.onBlurWindow,!1)):window.attachEvent&&(window.attachEvent("onfocusin",vk__adsLight.userHandlers.onFocusWindow),window.attachEvent("onfocusout",vk__adsLight.userHandlers.onBlurWindow)):window.addEventListener&&(window.addEventListener("focus",vk__adsLight.userHandlers.onFocusWindow,!0),window.addEventListener("blur",vk__adsLight.userHandlers.onBlurWindow,!0)),document.addEventListener?(window.addEventListener("scroll",vk__adsLight.userHandlers.onScrollWindow,!0),document.addEventListener("mousedown",vk__adsLight.userHandlers.onMouseDownDocument,!0)):document.attachEvent&&(window.attachEvent("onscroll",vk__adsLight.userHandlers.onScrollWindow),document.attachEvent("onmousedown",vk__adsLight.userHandlers.onMouseDownDocument)),!isVkDomain&&window.VK&&VK.addCallback&&VK.addCallback("adsPublish",AdsLight.handleEvent),vk__adsLight.yaDirectLoaded=!1,vk__adsLight.yaDirectAdActive=!1,vk__adsLight.yaDirectLoadTries=0,vk__adsLight.gadxLoaded=!1,vk__adsLight.gadxLoading=!1,vk__adsLight.gadxLoadTries=0,vk__adsLight.showWmgAd=!0,vk__adsLight.wmgLoading=!1,vk__adsLight.wmgLoadTries=0,vk__adsLight.GPTLoading=!1,vk__adsLight.GPTLoaded=!1,vk__adsLight.GPTLoadTries=0,vk__adsLight.userHandlers.onInit(!0))},AdsLight.initUserHandlers=function(){vk__adsLight.userHandlers={onInit:function(e){AdsLight.initObservers(),e&&AdsLight.handleEvent("ads.onEvent","onInit",0);e||AdsLight.loadAds();document.hasFocus&&document.hasFocus()&&d(!0)},onHasFocus:d,onFocusWindow:function(t){t&&AdsLight.handleEvent("ads.onEvent","onFocusWindow",0);if(e)return;e=!0,i=window.vkNow&&vkNow()||0,vk__adsLight.userEventTime=window.vkNow&&vkNow()||0,n()},onBlurWindow:function(t){if(e=!1,window.vkNow&&vkNow()-i<1e3)return;t&&AdsLight.handleEvent("ads.onEvent","onBlurWindow",0);vk__adsLight.activeTab=window.vkNow&&-vkNow()||0},onScrollWindow:function e(t,i){if(t&&!i)return clearTimeout(a),void(a=setTimeout((function(){e(t,!0)}),100));t&&AdsLight.handleEvent("ads.onEvent","onScrollWindow",0);vk__adsLight.userEventTime=window.vkNow&&vkNow()||0,n(),isVkDomain&&window.vkNow&&window.vk&&vk.ads_rotate_interval&&d()&&(clearTimeout(s),s=setTimeout((function(){d()&&(window.__adsLoaded=0,AdsLight.updateBlock())}),10));isVkDomain&&AdsLight.applyAds();function d(){return"web"===vk__adsLight.adsSection&&vkNow()-window.__adsLoaded>=vk.ads_rotate_interval||vkNow()-window.__adsLoaded>=5*vk.ads_rotate_interval}},onMouseDownDocument:function(e){e&&AdsLight.handleEvent("ads.onEvent","onMouseDownDocument",0);if(vk__adsLight.userEventTime=window.vkNow&&vkNow()||0,n(),!e)return;var t=e.target;for(;t&&"A"!=t.tagName&&!t.onclick;)t=t.parentNode;if(!t)return;o(!0)},onMouseDownDocumentAction:o,onActiveTab:n};var e=!1,t=!1,i=!1,s=!1,a=!1;function d(e){e&&AdsLight.handleEvent("ads.onEvent","onHasFocus",0),n()}function o(e){e&&AdsLight.handleEvent("ads.onEvent","onMouseDownDocumentAction",0),clearTimeout(s),t=!0,setTimeout((function(){t=!1}),10)}function n(e){function i(){return vkNow()-window.__adsLoaded>=vk.ads_rotate_interval}isVkDomain&&window.vkNow&&window.vk&&vk.ads_rotate_interval&&!t&&vk__adsLight.activeTab<0&&vkNow()+vk__adsLight.activeTab>=15e3&&i()&&(clearTimeout(s),s=setTimeout((function(){i()&&(window.__adsLoaded=0,AdsLight.updateBlock())}),10)),vk__adsLight.activeTab=1}},AdsLight.initWeb=function(e,t,i,s){if(vk__adsLight.adsSection=e,top!==window){var a={adsPublish:function(){AdsLight.handleEvent.apply(AdsLight,arguments)},onAdsAttached:function(){vk__adsLight.rpc.callMethod("publish","ads.subscribeEvents")},onInit:function(){vk__adsLight.rpc.callMethod("publish","ads.subscribeEvents")}};try{vk__adsLight.rpc=new fastXDM.Client(a);var d=window.stDeps&&window.stDeps["/dist/web/ads_light.js"],o=["/dist/web/ads_light.js"];d&&(o=d.map((e=>`/${e}`))),vk__adsLight.rpc.callMethod("newAdsOnInitLoader",JSON.stringify(o)),vk__adsLight.loaderParams=t,vk__adsLight.adsParamsExport=s}catch(e){debugLog(e)}}},AdsLight.initObservers=function(){if(window.VK&&VK.Observer&&VK.Observer.subscribe&&!vk__adsLight.observersInited)for(var e in vk__adsLight.observersInited=!0,VK.Observer.subscribe("ads.isVisibleBlockWrap",t("ads.isVisibleBlockWrap")),VK.Observer.subscribe("ads.subscribeEvents",t("ads.subscribeEvents")),VK.Observer.subscribe("ads.onEvent",t("ads.onEvent")),VK.Observer.subscribe("ads.onAdsShowed",t("ads.onAdsShowed")),VK.Widgets.RPC)VK.Widgets.RPC[e].methods.adsOnInit&&VK.Widgets.RPC[e].callMethod("onAdsAttached");function t(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e),AdsLight.handleEvent.apply(AdsLight,t)}}},AdsLight.handleEvent=function(){var e=Array.prototype.slice.call(arguments),t=e.shift();switch(t){case"ads.isVisibleBlockWrap":AdsLight.isVisibleBlockWrapRpc.apply(AdsLight,e);break;case"ads.subscribeEvents":var i=e[0];i&&!vk__adsLight.widgetsIds[i]&&(vk__adsLight.widgetsIds[i]=!0),vk__adsLight.userHandlers.onInit(!0);break;case"ads.onEvent":AdsLight.onEvent.apply(AdsLight,e);break;case"ads.onAdsShowed":AdsLight.onAdsShowed.apply(AdsLight,e)}},AdsLight.onEvent=function(e,t){if(0===t)t=[];else{var i=!1;for(var s in t)if(t[s]==vk__adsLight.windowId){i=!0;break}if(i)return;vk__adsLight.userHandlers[e]&&vk__adsLight.userHandlers[e](!1)}t.push(vk__adsLight.windowId),AdsLight.publish(!1,"ads.onEvent",e,t)},AdsLight.onAdsShowed=function(e){0===e&&(e={});var t=[];for(var i in e)e.hasOwnProperty(i)&&t.push(parseInt(i));t.sort();for(var s=[],a=0,d=t.length;a<d;a++){var o=t[a];s.push(e[o].ads_showed_hash)}var n=(s=s.join("_"))&&e[vk__adsLight.windowId]&&s===e[vk__adsLight.windowId].publish_hash,r=+new Date;for(var _ in e[vk__adsLight.windowId]||(e[vk__adsLight.windowId]={},t.push(vk__adsLight.windowId),t.sort()),e[vk__adsLight.windowId].ads_showed=vk__adsLight.adsShowed,e[vk__adsLight.windowId].ads_showed_hash=vk__adsLight.adsShowedHash,e[vk__adsLight.windowId].update_progress=vk__adsLight.updateProgress,vk__adsLight.adsShowedAll)vk__adsLight.adsShowedAll.hasOwnProperty(_)&&(!e[_]||vk__adsLight.adsShowedAll[_].publish_time>e[_].publish_time)&&r-vk__adsLight.adsShowedAll[_].publish_time<1e4&&(e[_]=vk__adsLight.adsShowedAll[_]);s=[];for(var g=0,l=t.length;g<l;g++){var h=t[g];s.push(e[h].ads_showed_hash)}for(var c in s=s.join("_"),e[vk__adsLight.windowId].publish_time=r,e[vk__adsLight.windowId].publish_hash=s,e)e.hasOwnProperty(c)&&(vk__adsLight.adsShowedAll[c]=e[c]);n||AdsLight.publish(!0,"ads.onAdsShowed",e)},AdsLight.publish=function(e,t){var i,s=Array.prototype.slice.call(arguments,1),a=s.slice(),d=s.slice(),o=s.slice(),n=s.slice();a.unshift("adsPublish"),d.unshift("adsPublish"),o.unshift("adsPublish"),n.unshift("publish");var r=[];if(window.VK&&VK.Widgets&&VK.Widgets.RPC){var _=function(e){var t;VK.Widgets.RPC[e]&&VK.Widgets.RPC[e].callMethod&&(t=e,i=function(){VK.Widgets.RPC[t].callMethod.apply(VK.Widgets.RPC[t],a)},r.push(i))};for(var g in vk__adsLight.widgetsIds)_(g)}function l(){for(var e=0,t=r.length;e<t;e++)r[e]()}!isVkDomain&&window.VK&&VK.callMethod&&(i=function(){VK.callMethod.apply(VK,d)},r.push(i)),isVkDomain&&"web"!==vk__adsLight.adsSection&&window.cur&&cur.app&&cur.app.runCallback&&(i=function(){cur.app.runCallback.apply(cur.app,o)},r.push(i)),isVkDomain&&"web"===vk__adsLight.adsSection&&vk__adsLight.rpc&&vk__adsLight.rpc.callMethod&&(i=function(){vk__adsLight.rpc.callMethod.apply(vk__adsLight.rpc,n)},r.push(i)),clearTimeout(vk__adsLight.publishTimers[t]),r.length>1&&e?vk__adsLight.publishTimers[t]=setTimeout(l,50):l()},AdsLight.canUpdate=function(e){var t=ge("ads_left"),i=e&&!1===window.__adsLoaded,s=!0;return s=(s=s&&t&&isVisible(t)&&(vk__adsLight.activeTab>0&&AdsLight.isVisibleBlockWrap()||i))&&vk.id&&(vk__adsLight.adsCanShow>=1||vkNow()+vk__adsLight.adsCanShow>36e5),s="web"===vk__adsLight.adsSection?s&&2===vk__adsLight.loadComplete:(s=s&&isVisible("side_bar")&&!layers.visible&&!isVisible("left_friends"))&&!AdsLight.isNoAds()&&(vk.loaded||i)},AdsLight.isNoAds=function(){return vk.no_ads||AdsLight.isNoAdsForce()},AdsLight.isNoAdsForce=function(){return window.cur&&window.cur.no_left_ads},AdsLight.getAjaxParams=function(e,t){var i={},s=AdsLight.canUpdate(!0);return cur.group_id&&(i._ads_group_id=cur.group_id),t.noAds||t.cache?i.al_ad=0:s||t.ads?((t.ads||window.vkNow&&window.vk&&vk.ads_rotate_interval&&"web"!==vk__adsLight.adsSection&&vkNow()-window.__adsLoaded>=vk.ads_rotate_interval)&&(window.__adsLoaded=vkNow(),i.al_ad=1),(e.al_ad||i.al_ad)&&(i.ads_section=vk__adsLight.adsSection,i.ads_showed=AdsLight.getAdsShowed())):i.al_ad=null,i},AdsLight.doRequest=function(e,t){var i="web"===vk__adsLight.adsSection&&1===vk__adsLight.loadComplete;if(!t)return vk__adsLight.updateProgress=1,AdsLight.onAdsShowed(0),void setTimeout(AdsLight.doRequest.pbind(e,!0),300);var s,a,d=0,o={};!function t(n){var r=+new Date,_=0;for(var g in vk__adsLight.adsShowedAll)if(vk__adsLight.adsShowedAll.hasOwnProperty(g)){var l=vk__adsLight.adsShowedAll[g];if(r-l.publish_time>=3e4)delete vk__adsLight.adsShowedAll[g];else if(!i||!o[g]){if(2==l.update_progress){_=g;break}1==l.update_progress&&(!_||g<_)&&(_=g)}}n||!_||_==vk__adsLight.windowId?(clearInterval(s),clearTimeout(a),vk__adsLight.updateProgress=2,AdsLight.onAdsShowed(0),e()):_!=d&&(d=_,clearInterval(s),clearTimeout(a),s=setInterval(t,i?100:200),a=setTimeout(t.pbind(!0),5050));o[_]=o[_]?o[_]+1:1}()},AdsLight.getAdsShowed=function(){var e=[];for(var t in vk__adsLight.adsShowedAll)if(vk__adsLight.adsShowedAll.hasOwnProperty(t)){var i=vk__adsLight.adsShowedAll[t];i.ads_showed&&e.push(i.ads_showed)}return e=e.join(",")},AdsLight.updateBlock=function(e,t){if("very_lazy"!==e){if("lazy"===e){if(window.__adsLoaded)return void(window.__adsLoaded=0);window.__adsLoaded=0}if("force"===e&&(window.__adsLoaded=0),"force_hard"===e&&(window.__adsLoaded=0),"already"!==e){if(!window.__adsLoaded&&!1!==window.__adsLoaded){if(!t)return clearTimeout(vk__adsLight.updateBlockTimer),void(vk__adsLight.updateBlockTimer=setTimeout(AdsLight.updateBlock.pbind(!1,1),1e3));var i=AdsLight.canUpdate();if(1!=t){if(i||"force_hard"==e&&!AdsLight.isNoAdsForce()){window.__adsLoaded=vkNow();var s={};for(var a in vk__adsLight.adsParams)vk__adsLight.adsParams.hasOwnProperty(a)&&(s[a]=vk__adsLight.adsParams[a]);AdsLight.doRequest((function(){s.ads_showed=AdsLight.getAdsShowed(),s.ya_ad_active=+vk__adsLight.yaDirectAdActive,ajax.post("/ads_rotate.php?act=al_update_ad",s,{ads:1,onDone:o,onFail:d})}))}}else setTimeout(AdsLight.updateBlock.pbind(!1,2),500)}}else window.__adsLoaded=vkNow()}else window.__adsLoaded=0;function d(){return o(),!0}function o(){vk__adsLight.updateProgress=3}},AdsLight.sendExperimentStat=function(e,t,i){if(window.vk&&vk.id){if(vk.id%20!=2)return}else if(Math.random()>=.05)return;var s;switch(t){case"try":s=e+1;break;case"success":s=e+2;break;case"fail":s=e+3;break;case"noresult":s=e+7;break;case"lineup":s=e+8;break;case"extra":s=e+9;break;default:return}var a="/wkview.php?act=mlet&mt="+s;i&&(a+="&extra="+encodeURIComponent(i)),ajax.post(a,{},{onFail:function(){return!0}})},AdsLight.tryExperiment=function(e){var t=function(t){if(e.hasOwnProperty(t)){t=intval(t);var s=e[t].split(":"),a=s[0],d=parseInt(s[1]),o=s.slice(2),n=o.length?o[o.length-1]:"",r="label=",_="";switch(n.substr(0,r.length)===r&&(_=n.substr(r.length),o=o.slice(0,-1)),vk__adsLight.yaDirectAdActive=!1,a){case"ya_direct":return AdsLight.sendExperimentStat(d,"lineup"),vk__adsLight.yaCloseLink=o[0],vk__adsLight.yaDirectLoaded?(AdsLight.tryRenderYaDirect(o[1],d,_,e.slice(t+1)),i=t,{v:!0}):(vk__adsLight.yaDirectLoadTries>3?(AdsLight.sendExperimentStat(d,"fail"),AdsLight.tryExperiment(e.slice(t+1))):(AdsLight.initYaDirect(o[2]),setTimeout((function(){AdsLight.tryExperiment(e)}),300)),i=t,{v:void 0});case"criteo":return AdsLight.sendExperimentStat(d,"lineup"),AdsLight.tryRenderCriteo(d,e.slice(t+1)),i=t,{v:!0};case"rb":return AdsLight.sendExperimentStat(d,"lineup"),AdsLight.tryRenderTarget(o[0],o[1],d,_,o[2],o[3],o[4],o[6],o[5],e.slice(t+1),o[7]),i=t,{v:!0};case"vk":AdsLight.sendExperimentStat(d,"lineup"),AdsLight.sendExperimentStat(d,"try");var g=+new Date,l="__vkAdsReq_"+g;window[l]=function(e){e.ads_count&&AdsLight.sendExperimentStat(d,"success"),delete window[l]},setTimeout((function(){delete window[l]}),6e4);var h=vk__adsLight.adsParams;return vk__adsLight.adsParams=vk__adsLight.adsParams||{},vk__adsLight.adsParams.ads_req_id=g,vk__adsLight.adsParams.ignore_experiments=d,AdsLight.updateBlock("force_hard",2),vk__adsLight.adsParams=h,i=t,{v:!0};case"gadx":var c;if(AdsLight.sendExperimentStat(d,"lineup"),!vk__adsLight.gadxLoaded)return vk__adsLight.gadxLoadTries>3?(AdsLight.sendExperimentStat(d,"fail"),AdsLight.tryExperiment(e.slice(t+1))):(AdsLight.initGADX(o[0],[o[1],o[2]],d,e.slice(t+1)),setTimeout((function(){AdsLight.tryExperiment(e)}),300)),i=t,{v:void 0};var u=AdsLight.getBusyBlockID(vk__adsLight.gadxBlocks),v=AdsLight.getFreeBlockID(vk__adsLight.gadxBlocks);if(!v)return AdsLight.sendExperimentStat(d,"fail"),i=t,{v:void 0};if(u){c=ge(u);var p=ge("ads_left"),L=getSize(p)[1];setStyle(p,{minHeight:L,maxHeight:L}),setStyle(c,{position:"absolute",top:0,left:0,width:"100%"}),c=ce("div",{id:v},{maxHeight:0,overflow:"hidden"}),p.appendChild(c)}else{c=ce("div",{id:v},{maxHeight:0,overflow:"hidden"});var w=ge("ads_left");if(!w)return AdsLight.sendExperimentStat(d,"fail"),AdsLight.tryExperiment(e.slice(t+1)),i=t,{v:void 0};if(w.innerHTML)return AdsLight.showNewBlock(w,"",!0),setTimeout((function(){ge("ads_left").innerHTML="",AdsLight.tryExperiment(e)}),1e3),i=t,{v:void 0};w.appendChild(c)}return googletag.cmd.push(function(e,t){AdsLight.sendExperimentStat(t,"try"),googletag.pubads().refresh([vk__adsLight.gadxSlots[e]]),googletag.display(e)}.pbind(v,d)),i=t,{v:!0};case"wmg":return AdsLight.sendExperimentStat(d,"lineup"),AdsLight.wmgMessageCallback=function(i){AdsLight.checkWmgMessage.call(this,i,d,e,t)},addEventListener("message",AdsLight.wmgMessageCallback),window.glade?(vk__adsLight.showWmgAd=!0,AdsLight.tryRenderWmg(d,e.slice(t+1)),i=t,{v:!0}):vk__adsLight.wmgLoadTries>3?(vk__adsLight.showWmgAd=!1,AdsLight.onWmgRenderUnsuccessful(d,e.slice(t+1)),i=t,{v:!0}):(vk__adsLight.showWmgAd=!0,AdsLight.initWmg(),setTimeout((function(){AdsLight.tryExperiment(e)}),300),i=t,{v:!0});case"gpt":return AdsLight.sendExperimentStat(d,"lineup"),window.googletag&&window.googletag.apiReady&&vk__adsLight.GPTLoaded?(AdsLight.tryRenderGPT(d,e,e.slice(t+1)),i=t,{v:!0}):vk__adsLight.GPTLoadTries>3?(AdsLight.onGPTRenderUnsuccessful(d,e.slice(t+1)),i=t,{v:!0}):(AdsLight.initGPT(d,e.slice(t+1)),setTimeout((function(){AdsLight.tryExperiment(e)}),300),i=t,{v:!0})}}i=t};for(var i in e){var s=t(i);if("object"==typeof s)return s.v}return!1},AdsLight.setNewBlock=function(e,t,i,s,a,d){"string"==typeof t&&(vk__adsLight.adsSection=t);var o="\x3c!--ads_experiment";if(e&&e.slice(0,o.length)===o){var n=e.split(";");AdsLight.tryExperiment(n.slice(1,-1))}else{var r="\x3c!--ads_props_data;",_=e?e.indexOf(r):-1,g=-1!=_?e.indexOf(";--\x3e",_+r.length):-1;if(-1!=g&&(d=e.slice(_+r.length,g)),d&&"string"==typeof d)try{d=window.parseJSON?parseJSON(d):JSON.parse(d)}catch(e){}if(d&&"[object Object]"===Object.prototype.toString.call(d)||(d={}),vk__adsLight.adsCanShow=i||"0"===i?1:-vkNow(),vk__adsLight.adsShowed=s,vk__adsLight.adsShowedHash=+new Date,a&&(vk__adsLight.adsParams=a),!e)if(AdsLight.isNoAds())e="";else{if("im"!==vk__adsLight.adsSection||0!=window.__seenAds)return void AdsLight.resizeBlockWrap([0,0],!1,!1,!0);e=""}window.__adsLoaded=vkNow();var l=ge("ads_left"),h=l&&isVisible(l)||vk.ad_preview;if(!l){var c=ge("side_bar");if(!c)return void AdsLight.resizeBlockWrap([0,0],!1,!1,!0);l=c.appendChild(ce("div",{id:"ads_left",className:"ads_left_empty"},{display:h?"block":"none"}))}if(AdsLight.showNewBlock(l,e,h),window.vk&&vk.ads_rotate_interval&&"web"===vk__adsLight.adsSection&&(clearInterval(vk__adsLight.reloadTimer),vk__adsLight.reloadTimer=setInterval((function(){vkNow()-window.__adsLoaded>=vk.ads_rotate_interval&&vkNow()-vk__adsLight.userEventTime<=3*vk.ads_rotate_interval/4&&(window.__adsLoaded=0,AdsLight.updateBlock())}),vk.ads_rotate_interval)),d.ads_req_id)try{var u="__vkAdsReq_"+d.ads_req_id;window[u]&&window[u](d)}catch(e){}setTimeout((function(){vk__adsLight.updateProgress=3,AdsLight.onAdsShowed(0)}),100),"undefined"!=typeof abp&&window.abp&&setCookie("remixab",1,30)}},AdsLight.replaceScriptsInElement=function(e){Array.from(e.querySelectorAll("script")).forEach((e=>{var t=document.createElement("script");Array.from(e.attributes).forEach((e=>{t.setAttribute(e.name,e.value)})),t.appendChild(document.createTextNode(e.innerHTML)),e.parentNode.replaceChild(t,e)}))},AdsLight.mailAdsLeftReady=function(){AdsLight.startProcessingImages()},AdsLight.showNewBlock=function(e,t,i){if(vk__adsLight.containerElem=e,!i||browserLight.msie6||browserLight.msie7){i||debugLog("Ads container is hidden"),e.innerHTML=t,toggleClass(e,"ads_left_empty",!t);var s=AdsLight.getBlockSize(e);return AdsLight.resizeBlockWrap(s,!1,!1,!0),void AdsLight.updateExternalStats(e)}vk__adsLight.isNewBlockEmpty=!t;var a=t;"string"==typeof t&&(a=ce("div",{innerHTML:t},{display:"none"}),(0,_shared_user_user_env__WEBPACK_IMPORTED_MODULE_7__.partConfigEnabled)("vk_ads_tgb_run_outer_js")&&a.querySelector("#render-type-js")&&AdsLight.replaceScriptsInElement(a)),a=e.appendChild(a),vk__adsLight.newBlockElem=a,(0,_shared_user_user_env__WEBPACK_IMPORTED_MODULE_7__.partConfigEnabled)("vk_ads_tgb_run_outer_js")&&a.querySelector("#render-type-js")||AdsLight.startProcessingImages()},AdsLight.startProcessingImages=function(){for(var e=vk__adsLight,t=e.newBlockElem,i=e.containerElem,s=e.isNewBlockEmpty,a=getXY(i)[1]+50>scrollGetY()+lastWindowHeight?0:200,d=AdsLight.getBlockSize(i),o=[0,0],n=geByClass1("ads_ads_box3",t)||t,r=geByTag("img",t),_=[],g=0,l=r.length;g<l;g++){var h=vkImage();h.onload=c,h.onerror=c,h.src=r[g].src,_.push(h)}function c(){if(isVisible(t)){var e=AdsLight.getBlockSize(n);AdsLight.resizeBlockWrap(e,d,o)}}function u(){toggleClass(i,"ads_left_empty",s),cleanElems(i);var e=AdsLight.getBlockSize(n);AdsLight.resizeBlockWrap(e,!1,o,!0),s?v():animate(t,{opacity:1},a,v.pbind())}function v(){if(s)if(t.previousSibling)for(var e=t;e=e.previousSibling;)if(e.nodeType===Node.ELEMENT_NODE){var i=e.previousSibling?null:p.pbind();animate(e,{opacity:0},a,i)}else p();else p();else p()}function p(){for(cleanElems(t);t.previousSibling;)re(t.previousSibling);setStyle(t,{position:"static",zIndex:"",width:""}),setStyle(i,{width:"",height:"",overflow:"visible"}),window.updSideTopLink&&window.updSideTopLink(),AdsLight.updateExternalStats(i),s||AdsLight.scrollToPreview()}clearInterval(vk__adsLight.imagesTimer),vk__adsLight.imagesTimer=setInterval(function(e){if(--e.count>0)for(var r in _)if(!_[r].width||!_[r].height)return;clearInterval(vk__adsLight.imagesTimer),function(){setStyle(i,{overflow:"hidden"}),setStyle(t,{display:"block",position:"absolute",left:0,top:0,opacity:0,zIndex:10,width:"100%"});var e=AdsLight.getBlockSize(n);e=AdsLight.resizeBlockWrap(e,d,o),s?u():animate(i,{width:e[0],height:e[1]},a,u.pbind())}()}.pbind({count:40}),50)},AdsLight.updateExternalStats=function(e){var t;t=e&&e.getAttribute("external_stats_src")?[e]:geByClass("ads_ad_external_stats",e);for(var i,s=0;i=t[s];s++)i.getAttribute("external_stats_complete")||(i.setAttribute("external_stats_complete",1),vkImage().src=i.getAttribute("external_stats_src"))},AdsLight.addAdsToApply=function(e){var t;for(var i in window.cur?(window.cur.adsIdsApplyNeeded||(window.cur.adsIdsApplyNeeded={}),t=window.cur.adsIdsApplyNeeded):t=vk__adsLight.adsIdsApplyNeeded,e)e.hasOwnProperty(i)&&(t[i]=e[i]);AdsLight.applyAds()},AdsLight.applyAds=function(e){var t=window.cur&&window.cur.adsIdsApplyNeeded||vk__adsLight.adsIdsApplyNeeded||{};if(!isEmpty(t)){if(!e)return clearTimeout(vk__adsLight.adsIdsApplyTimer),void(vk__adsLight.adsIdsApplyTimer=setTimeout(AdsLight.applyAds.pbind(!0),100));!function(){for(var e in t)if(t.hasOwnProperty(e)){var s=ge(e);if(!s){delete t[e];continue}var a=s.getBoundingClientRect();if(a.bottom>0&&a.top<lastWindowHeight){var d=document.elementFromPoint(a.left+1,a.top+1),o=document.elementFromPoint(a.right-1,a.bottom-1);if(d&&(d===s||isAncestor(d,s))||o&&(o===s||isAncestor(o,s))){vk__adsLight.adsIdsApplyProcess.push(t[e][0]),delete t[e];continue}}t[e][1]&&(vkNow()-vk.started)/1e3>t[e][1]&&(re(s),delete t[e])}i()}()}function i(e){if(0!=vk__adsLight.adsIdsApplyProcess.length&&!vk__adsLight.adsIdsApplyLocked){if(!e)return clearTimeout(vk__adsLight.adsIdsApplyTimer),void(vk__adsLight.adsIdsApplyTimer=setTimeout(i.pbind(!0),100));vk__adsLight.adsIdsApplyLocked=!0;var t={};t.ads_ids_apply=vk__adsLight.adsIdsApplyProcess.join(";"),cur&&cur.adsDelayedViewsSrc&&(t.ads_src=cur.adsDelayedViewsSrc),vk__adsLight.adsIdsApplyProcess=[],ajax.post("/ads_light.php?act=apply_views",t,{onDone:s,onFail:s})}}function s(e){if(vk__adsLight.adsIdsApplyLocked=!1,e&&isObject(e)){for(var t in e)if(e.hasOwnProperty(t)){var i=ge("ads_ad_box2_"+t);if(!i)continue;for(var s in e[t])e[t].hasOwnProperty(s)&&i.setAttribute(s,e[t][s])}AdsLight.applyAds()}}},AdsLight.isVisibleBlockWrap=function(e){var t=ge("ads_left"),i=t.getBoundingClientRect(),s=[];return i.right&&i.bottom&&(s.push([i.left+1*(i.right-i.left)/5,i.top+1*(i.bottom-i.top)/5]),s.push([i.left+4*(i.right-i.left)/5,i.top+4*(i.bottom-i.top)/5])),AdsLight.isVisibleBlockWrapCoords(s,t,(function(e){vk__adsLight.wrapVisible=e}),e),vk__adsLight.wrapVisible},AdsLight.isVisibleBlockWrapCoords=function(e,t,i,s){for(var a,d=!1,o=[],n=0,r=e.length;n<r;n++){var _=document.elementFromPoint(e[n][0],e[n][1]),g=_&&(_===t||h(_,t));d=d||g,g&&o.push(e[n])}d=!!d;var l=function(e){clearTimeout(a),i(void 0!==e?e:d)};function h(e,t){if(!e||!t)return!1;for(;e=e.parentNode;)if(e===t)return!0;return!1}!s&&o.length&&window!=parent&&isVkDomain&&"web"===vk__adsLight.adsSection&&vk__adsLight.rpc&&vk__adsLight.rpc.callMethod?(vk__adsLight.rpc.callMethod("publish","ads.isVisibleBlockWrap",o,l),a=setTimeout(l,300)):!s&&o.length&&window!=parent&&!isVkDomain&&window.VK&&VK.callMethod?(VK.callMethod("adsPublish","ads.isVisibleBlockWrap",o,l),a=setTimeout(l,300)):l()},AdsLight.isVisibleBlockWrapRpc=function(e,t,i){for(var s,a=(s=i?VK.Widgets.RPC[i].frame:cur.app.frame).getBoundingClientRect(),d=[],o=0,n=e.length;o<n;o++){var r=e[o][0]+a.left,_=e[o][1]+a.top;d.push([r,_])}AdsLight.isVisibleBlockWrapCoords(d,s,t)},AdsLight.getBlockSize=function(e){var t=geByClass("ads_ad_box",e),i=geByClass("ads_ad_box5",e);each(i,(function(e,t){addClass(t,"max_size")})),browserLight.msie8&&each(t,(function(e,t){var i=Math.ceil(floatval(getStyle(t,"width"))),s=Math.ceil(floatval(getStyle(t,"max-width")));s&&s>200&&i>=s&&(t.style.width=s+"px")}));var s=[Math.ceil(floatval(getStyle(e,"width"))),Math.ceil(floatval(getStyle(e,"height")))];return each(i,(function(e,t){removeClass(t,"max_size")})),s},AdsLight.resizeBlockWrap=function(e,t,i,s){if(!e)return[0,0];var a=e[0],d=e[1];a&&vk__adsLight.adsParams&&vk__adsLight.adsParams.ads_ad_unit_width_real>a&&(a=vk__adsLight.adsParams.ads_ad_unit_width_real),d&&vk__adsLight.adsParams&&vk__adsLight.adsParams.ads_ad_unit_height_real>d&&(d=vk__adsLight.adsParams.ads_ad_unit_height_real);var o=!!(s||t&&a>t[0]||i&&i[0]&&a>i[0]),n=!!(s||t&&d>t[1]||i&&i[1]&&d>i[1]);return o||n?(i&&(o&&(i[0]=a),n&&(i[1]=d)),isVkDomain&&"web"===vk__adsLight.adsSection&&vk__adsLight.rpc&&vk__adsLight.rpc.callMethod&&vk__adsLight.rpc.callMethod("resizeWidget",o&&a,n&&d),[a,d]):[a,d]},AdsLight.loadAds=function(){if(isVkDomain&&vk__adsLight.loaderParams&&!vk__adsLight.loadComplete){vk__adsLight.loadComplete=1;var adsParamsExport=vk__adsLight.adsParamsExport;delete vk__adsLight.adsParamsExport;var ajaxParams={};for(var i in vk__adsLight.loaderParams)vk__adsLight.loaderParams.hasOwnProperty(i)&&(ajaxParams[i]=vk__adsLight.loaderParams[i]);ajaxParams.url=document.referrer;try{ajaxParams.url_top=top.location.toString()}catch(e){}var isVisibleWeb=AdsLight.isVisibleBlockWrap(!0);isVisibleWeb||(ajaxParams.web_invisible=1),document.documentMode&&(ajaxParams.ie_document_mode=document.documentMode),AdsLight.doRequest((function(){ajaxParams.ads_showed=AdsLight.getAdsShowed(),ajax.post("/ads_rotate.php?act=ads_web",ajaxParams,{onDone:onComplete,onFail:onComplete})}))}function onComplete(response,nothing,js){if(vk__adsLight.updateProgress=3,response&&isObject(response)&&"ads_html"in response){var styleElemOld=ge("ads_style_web_loader"),sheetOld=styleElemOld.sheet?styleElemOld.sheet:styleElemOld.styleSheet,deleteFunc=sheetOld.deleteRule?"deleteRule":"removeRule";sheetOld[deleteFunc](0);var styleElemNew=ce("style",{type:"text/css"});styleElemNew.styleSheet?styleElemNew.styleSheet.cssText=response.css:styleElemNew.appendChild(document.createTextNode(response.css)),headNode.appendChild(styleElemNew),AdsLight.setNewBlock(response.ads_html,response.ads_section,response.ads_can_show,response.ads_showed,response.ads_params);var _adsParamsExport=response.ads_params_export;if(_adsParamsExport.ads_params_unclean)for(var _i3 in delete _adsParamsExport.ads_params_unclean,_adsParamsExport)_adsParamsExport.hasOwnProperty(_i3)&&(_adsParamsExport[_i3]=unclean(_adsParamsExport[_i3]));vk__adsLight.rpc.callMethod("adsOnInit",response.ads_count,_adsParamsExport),vk__adsLight.loadComplete=2}else{if("string"==typeof js)try{eval(js)}catch(e){(0,_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_5__.logEvalError)(e,js),debugLog(e)}AdsLight.loadAdsFailed(-3001,adsParamsExport)}}},AdsLight.loadAdsFailed=function(e,t){if(!vk__adsLight.rpc)return!1;if(-1===vk__adsLight.loadComplete)return!0;if(vk__adsLight.loadComplete=-1,t.ads_params_unclean)for(var i in delete t.ads_params_unclean,t)t.hasOwnProperty(i)&&(t[i]=unclean(t[i]));return vk__adsLight.rpc.callMethod("resizeWidget",0,0),vk__adsLight.rpc.callMethod("adsOnInit",e,t),!0},AdsLight.blockOverOut=function(e,t,i){var s,a="mouseover"===e.type,d=!1;if(hasClass(t,i)?(s=t,toggleClass(s,"over",a),d=a?1:.3):((s=geByClass1(i,s)).over=1,hasClass(s,"over")||(d=a?.3:0)),!1!==d&&animate(s,{opacity:d},200),a&&t==s){var o=geByClass1("tooltip_text",s);o&&(0,_web_lib_tooltip_utils__WEBPACK_IMPORTED_MODULE_6__.showTooltip)(s,{text:o.innerHTML,showdt:0,black:1,shift:[14,3,3]})}},AdsLight.closeNewsBlock=function(e,t,i){for(;!hasClass(e,"feed_row");)e=e.parentNode;function s(){return!0}slideUp(e,200),ajax.post("/ads_light.php?act=close_news",{hash:t,ads_section:i},{onDone:s,onFail:s})},AdsLight.scrollToPreview=function(e){if(e){var t=geByClass1("ads_ads_preview");if(t&&!hasClass(t,"ads_ads_preview_viewed")){addClass(t,"ads_ads_preview_viewed");var i=scrollGetY(),s=getXY(t)[1],a=getSize(t)[1],d=vk.staticheader?0:getSize("page_header_cont")[1];(s+a>i+lastWindowHeight||s<i+d)&&(a>=lastWindowHeight-d?scrollToY(s-10,500):scrollToY(s-(lastWindowHeight-a)/2,500))}}else setTimeout(AdsLight.scrollToPreview.pbind(!0),100)},AdsLight.overrideClickEvents=function(e,t,i){if(!e)return!1;var s=e.getAttribute("onclick_inside"),a=e.getAttribute("onclick_outside");if(!a)return!1;if(s=new Function("event",s||a),a=new Function("event",a),!i)for(var d,o=geByTag("a",e),n=0;d=o[n];n++)d.setAttribute("_href",d.href),d.removeAttribute("href");var r=!1;return addEvent(e,"click dblclick mousedown mouseup touchstart touchmove touchend",(function(e){var t=!1;if(e=normEvent(e),!r)if("mouseup"==e.type&&(2==e.which||1==e.which&&checkEvent(e))){if("A"==e.target.nodeName&&e.target.hasAttribute("href")&&"#"!==e.target.getAttribute("href"))return!0;r=!0,setTimeout((function(){r=!1}),100),a(e)}else"click"==e.type&&1==e.which&&(t=s(e));if(i&&!t)return!0;return cancelEvent(e)}),!1,!1,!0),t||cur.destroy.push(function(e){cleanElems(e)}.pbind(e)),!0},AdsLight.initYaDirect=function(e){var t,i,s,a,d;(vk__adsLight.yaDirectLoadTries++,vk__adsLight.yaDirectLoading)||(vk__adsLight.yaDirectLoading=!0,t=window,i=window.document,t[s="yandexContextAsyncCallbacks"]=t[s]||[],t[s].push((function(){vk__adsLight.yaDirectLoaded=!0,vk__adsLight.yaDirectLoading=!1})),d=i.getElementsByTagName("script")[0],(a=i.createElement("script")).type="text/javascript",a.src=e||"//an.yandex.ru/system/context.js",a.async=!0,d.parentNode.insertBefore(a,d))},AdsLight.tryRenderYaDirect=function(e,t,i,s){if(vk__adsLight.yaDirectLoaded){var a,d="yandex_ad_"+e;if(ge(d))animate(ge(d),{opacity:0},200,(function(){re(d),AdsLight.tryRenderYaDirect(e,t,i,s)}));else{a=ce("div",{id:d});var o=ge("ads_left");if(!o)return AdsLight.sendExperimentStat(t,"fail"),void AdsLight.onYaDirectRenderUnsuccessful(s);o.appendChild(a),a=ge(d),Ya.Context.AdvManager.render({blockId:e,renderTo:d,async:!0,onRender:function(){i&&!geByClass1("ads_label",a)&&a.insertBefore(se(i),a.firstChild),AdsLight.sendExperimentStat(t,"success"),AdsLight.onYaDirectRenderSuccessful(a)}},(function(){AdsLight.sendExperimentStat(t,"fail"),AdsLight.onYaDirectRenderUnsuccessful(s)})),AdsLight.sendExperimentStat(t,"try")}}},AdsLight.onYaDirectRenderSuccessful=function(e){if(vk__adsLight.yaCloseLink){var t=se(`<div id="ya_direct" style="display:none;" onmouseover="leftBlockOver('ya_direct');" onmouseout="leftBlockOut('ya_direct');"><div id="left_hideya_direct" class="left_hide_button" onmouseover="leftBlockOver(this);" onmouseout="leftBlockOut(this);" onclick="leftAdBlockClose('ya_direct', '${vk__adsLight.yaCloseLink}'); return cancelEvent(event);"></div></div>`);t.appendChild(e),e=t}AdsLight.showNewBlock(ge("ads_left"),e,!0),vk__adsLight.yaDirectAdActive=!0},AdsLight.onYaDirectRenderUnsuccessful=function(e){vk__adsLight.yaDirectAdActive=!1,AdsLight.tryExperiment(e)},AdsLight.tryRenderCriteo=function(e,t){var i="criteo-iframe",s=ge(i);s?animate(s,{opacity:0},200,(function(){re(s),AdsLight.tryRenderCriteo(t)})):(AdsLight.sendExperimentStat(e,"try"),(s=ce("iframe",{id:i,frameBorder:"0",marginWidth:"0",marginHeight:"0",height:"0",width:"118",scrolling:"no"},{opacity:0})).onload=function(){s.contentDocument.body.scrollHeight>400?(AdsLight.sendExperimentStat(e,"success"),s.height=600,animate(s,{opacity:1},200)):(AdsLight.sendExperimentStat(e,"fail"),re(s),AdsLight.tryExperiment(t))},s.src="/ads_light.php?act=criteo",ge("ads_left").appendChild(s))},AdsLight.initWmg=function(){if(vk__adsLight.wmgLoadTries++,!vk__adsLight.wmgLoading){vk__adsLight.wmgLoading=!0;var e=geByTag1("script"),t=ce("script",{type:"text/javascript",async:!0,src:"https://securepubads.g.doubleclick.net/static/glade.js"});e.parentNode.insertBefore(t,e),vk__adsLight.wmgLoading=!1}},AdsLight.tryRenderWmg=function(e,t){if(!vk__adsLight.wmgLoading)if(vk__adsLight.wmgLoading=!0,AdsLight.sendExperimentStat(e,"try"),vk__adsLight.showWmgAd&&window&&window.glade&&window.glade.run){var i=ge("ads_left");if(i){var s=AdsLight.getWmgDivId(i),a=AdsLight.addWmgBlock(s);i.appendChild(a),a.addEventListener("gladeAdFetched",AdsLight.onLoadWmgAd.pbind(e,t)),a.addEventListener("gladeAdRendered",AdsLight.onRenderWmgAd.pbind(s,a,i,e,t)),window.glade.run()}else AdsLight.onWmgRenderUnsuccessful(e,t)}else AdsLight.onWmgRenderUnsuccessful(e,t)},AdsLight.getWmgDivId=function(e){var t="glade-aslot-1";return e.innerHTML?(ge("glade-aslot-1")&&(t="glade-aslot-2"),t):t},AdsLight.addWmgBlock=function(e){var t=ce("div",{id:e},{display:"none",opacity:0});return t.setAttribute("data-ad-unit-path","/205338224/120x600_vk.com"),t.setAttribute("data-click-url",(0,_shared_lib_site__WEBPACK_IMPORTED_MODULE_8__.getHostName)()),t.setAttribute("data-glade",!0),t.setAttribute("width","120"),t.setAttribute("height","600"),t},AdsLight.onLoadWmgAd=function(e,t,i){vk__adsLight.wmgLoadTries=0,i&&i.detail&&!i.detail.empty||(vk__adsLight.showWmgAd=!1,AdsLight.onWmgRenderUnsuccessful(e,t))},AdsLight.onRenderWmgAd=function(e,t,i,s,a){vk__adsLight.showWmgAd&&AdsLight.onWmgRenderSuccessful(e,t,i,s,a)},AdsLight.onWmgRenderUnsuccessful=function(e,t){vk__adsLight.wmgLoading=!1,AdsLight.wmgMessageCallback&&removeEventListener("message",AdsLight.wmgMessageCallback),AdsLight.sendExperimentStat(e,"fail"),AdsLight.tryExperiment(t)},AdsLight.onWmgRenderSuccessful=function(e,t,i,s,a){vk__adsLight.wmgLoading=!1,AdsLight.sendExperimentStat(s,"success"),t.removeEventListener("gladeAdFetched",AdsLight.onLoadWmgAd.pbind(s,a)),t.removeEventListener("gladeAdRendered",AdsLight.onRenderWmgAd.pbind(e,t,i,s,a)),AdsLight.showWmgAfterFetch(e,t,i)},AdsLight.showWmgAfterFetch=function(e,t,i){setStyle("ads_left",{overflow:"hidden"}),setStyle(e,{display:"block",position:"absolute",left:0,top:0,opacity:0,zIndex:10,width:"100%"});var s=AdsLight.getBlockSize(i),a=geByClass1("ads_ads_box3",t)||t,d=AdsLight.getBlockSize(a);d=AdsLight.resizeBlockWrap(d,s,[0,0]),animate("ads_left",{width:d[0],height:d[1]},200,(function(){AdsLight.cleanAdBlockForWmg(e,t,i)}))},AdsLight.cleanAdBlockForWmg=function(e,t,i){removeClass(i,"ads_left_empty"),animate(e,{opacity:1},200,(function(){if(i.innerHTML)for(var s=0,a=i.childNodes.length;s<a;s++){var d=i.childNodes[s]?i.childNodes[s].getAttribute("id"):"";if(d&&d===e)return;var o=i.childNodes[s];animate(o,{opacity:0},200,(function(e){re(e),AdsLight.showWmgBlock(t,i)}))}}))},AdsLight.showWmgBlock=function(e,t){setStyle(e,{position:"static",zIndex:"",width:""}),setStyle(t,{width:"",height:"",overflow:"visible"})},AdsLight.getRBAds=function(e,t,i,s){var a,d,o="__rb"+(new Date).getTime(),n=s.slot_id,r="https://ad.mail.ru/adq/?callback="+o+"&q%5B%5D="+n+"%3Fn%3D"+encodeURIComponent(e),_={};for(d in s&&s.test_id&&(_.test_id=s.test_id),s&&s.cpm_floor&&"0"!=s.cpm_floor&&(_.cpm_floor=s.cpm_floor),s&&s.vk_id&&(_.vk_id=s.vk_id),s&&s.count&&(_.count=s.count),s&&s.sign&&(_.sign=s.sign),s&&s.brandsafety&&(_.brandsafety=s.brandsafety),_)_.hasOwnProperty(d)&&(r+=`&${d}=${_[d]}`);return function(t,i,d){clearTimeout(a),a=setTimeout((function(){d({reason:"timeout"})}),5e3),window[o]=function(t){if(clearTimeout(a),t&&t[0]&&t[0].html){try{var o=ge(e),n=o&&isVisible(o)||vk.ad_preview;if(!o){var r=ge("side_bar");if(!r)return AdsLight.resizeBlockWrap([0,0],!1,!1,!0),void d({reason:"no-side-bar"});o=r.appendChild(ce("div",{id:"ads_left",className:"ads_left_empty"},{display:n?"block":"none"}))}AdsLight.showNewBlock(o,(s.label?s.label:"")+t[0].html,n)}catch(e){}i(t)}else d({reason:"no-ads"})};var n=document.createElement("script");n.src=t,document.getElementsByTagName("head")[0].appendChild(n)}(r,t,i),o},AdsLight.tryRenderTarget=function(e,t,i,s,a,d,o,n,r,_,g){var l={slot_id:t,label:s,cpm_floor:a,test_id:d,count:o};g&&(l.brandsafety=1),e&&(l.test_id=e),window.vk&&vk.id&&(l.vk_id=vk.id,n&&(l.sign=n)),AdsLight.sendExperimentStat(i,"try");var h=!1,c=setTimeout((function(){AdsLight.sendExperimentStat(i,"noresult"),h&&window[h]&&(window[h]=function(){}),AdsLight.tryExperiment(_)}),6e3),u="ads_left";stManager.add(["mrtarg.js","mrtarg.css"],(function(){h=AdsLight.getRBAds(u,(function(e){clearTimeout(c),AdsLight.sendExperimentStat(i,"success"),window.RB&&window.RB.doCheck&&window.RB.doCheck();var t=function(e){var t=ge(u);if(t){var i=geByClass1("trg-b-banner-block",t);return i||isArray(e)&&isObject(e[0])&&e[0].banner&&(i=ge("b"+e[0].banner)),i}}(e);if(t){var s=["rbccl",t.getAttribute("c"),t.getAttribute("ac"),r].join(";");AdsLight.sendExperimentStat(i,"extra",s)}}),(function(e){clearTimeout(c),AdsLight.sendExperimentStat(i,"fail"),AdsLight.tryExperiment(_)}),l)}))},AdsLight.initGADX=function(e,t,i,s){if(vk__adsLight.gadxLoadTries++,!vk__adsLight.gadxLoading&&!vk__adsLight.gadxLoaded){vk__adsLight.gadxLoading=!0,vk__adsLight.gadxBlocks=t;var a=window.document.getElementsByTagName("script")[0],d=window.document.createElement("script");d.type="text/javascript",d.src="//www.googletagservices.com/tag/js/gpt.js",d.async=!0,a.parentNode.insertBefore(d,a),window.googletag=window.googletag||{},googletag.cmd=googletag.cmd||[],vk__adsLight.gadxSlots={},googletag.cmd.push((function(){each(t,(function(t,i){var s=googletag.defineSlot(e,["fluid"],i);vk__adsLight.gadxSlots[i]=s,s.addService(googletag.pubads())})),googletag.pubads().enableSingleRequest(),googletag.pubads().addEventListener("slotRenderEnded",(function(e){AdsLight.initGoogleRenderFinished(e,i,s,vk__adsLight.gadxBlocks)})),googletag.pubads().disableInitialLoad(),googletag.enableServices(),vk__adsLight.gadxLoaded=!0,vk__adsLight.gadxLoading=!1}))}},AdsLight.initGoogleRenderFinished=function(e,t,i,s){setTimeout((function(){var a=e.slot.getSlotElementId(),d=AdsLight.getBusyBlockID(s,a);e.isEmpty?(d&&(animate(ge(d),{maxHeight:0},300,(function(){re(d)})),animate(ge("ads_left"),{minHeight:0,maxHeight:400},300,(function(){setStyle(ge("ads_left"),{minHeight:"",maxHeight:""})}))),re(a),AdsLight.sendExperimentStat(t,"fail"),AdsLight.tryExperiment(i)):(d?(setStyle(ge(a),{maxHeight:"",opacity:.01}),animate(ge(a),{opacity:1},200),animate(d,{opacity:0},200,(function(){re(d)})),animate(ge("ads_left"),{minHeight:0,maxHeight:400},300,(function(){setStyle(ge("ads_left"),{minHeight:"",maxHeight:""})}))):animate(ge(a),{maxHeight:400},300,(function(){})),AdsLight.sendExperimentStat(t,"success"))}),500)},AdsLight.getFreeBlockID=function(e){var t;for(var i in e)if(e.hasOwnProperty(i)&&(t=e[i],!ge(t)))return t;return!1},AdsLight.getBusyBlockID=function(e,t){var i;for(var s in e)if(e.hasOwnProperty(s)){if(i=e[s],t&&t===i)continue;if(ge(i))return i}return!1},AdsLight.checkWmgMessage=function(e,t,i,s){"ads_wmg_no_ad"===e.data&&AdsLight.onWmgRenderUnsuccessful(t,i.slice(s+1))},AdsLight.initGPT=function(e,t){if(vk__adsLight.GPTLoadTries++,!vk__adsLight.GPTLoading&&!vk__adsLight.GPTLoaded){vk__adsLight.GPTLoading=!0,vk__adsLight.GPTBlocks=["ads_tgb_google_0","ads_tgb_google_1"];var i=geByTag1("script"),s=ce("script",{type:"text/javascript",async:!0,src:"https://www.googletagservices.com/tag/js/gpt.js"});i.parentNode.insertBefore(s,i),window.googletag=window.googletag||{},googletag.cmd=googletag.cmd||[],vk__adsLight.GPTAdSlots={},googletag.cmd.push((function(){each(vk__adsLight.GPTBlocks,(function(e,t){var i=googletag.defineSlot("/21802649096/vk_native_left",["fluid"],t);vk__adsLight.GPTAdSlots[t]=i,i.addService(googletag.pubads())})),googletag.pubads().enableSingleRequest(),googletag.pubads().addEventListener("slotRenderEnded",(function(i){AdsLight.initGoogleRenderFinished(i,e,t,vk__adsLight.GPTBlocks)})),googletag.pubads().disableInitialLoad(),googletag.enableServices(),vk__adsLight.GPTLoading=!1,vk__adsLight.GPTLoaded=!0}))}},AdsLight.onGPTRenderUnsuccessful=function(e,t){vk__adsLight.GPTLoading=!1,AdsLight.sendExperimentStat(e,"fail"),AdsLight.tryExperiment(t)},AdsLight.tryRenderGPT=function(e,t,i){if(!vk__adsLight.GPTLoading)if(vk__adsLight.GPTLoading=!0,window&&window.googletag&&window.googletag.apiReady&&vk__adsLight.GPTLoaded){var s=ge("ads_left");if(s){var a=AdsLight.getBusyBlockID(vk__adsLight.GPTBlocks),d=AdsLight.getFreeBlockID(vk__adsLight.GPTBlocks);if(d){if(a){var o=ge(a),n=getSize(s)[1];setStyle(s,{minHeight:n,maxHeight:n}),setStyle(o,{position:"absolute",top:0,left:0,width:"100%"}),o=ce("div",{id:d},{maxHeight:0,overflow:"hidden"}),s.appendChild(o)}else{var r=ce("div",{id:d},{maxHeight:0,overflow:"hidden"});if(s.innerHTML)return AdsLight.showNewBlock(s,"",!0),void setTimeout((function(){ge("ads_left").innerHTML="",AdsLight.tryExperiment(t)}),1e3);s.appendChild(r)}googletag.cmd.push(function(e,t){AdsLight.sendExperimentStat(t,"try"),googletag.pubads().refresh([vk__adsLight.GPTAdSlots[e]]),googletag.display(e)}.pbind(d,e))}else AdsLight.onGPTRenderUnsuccessful(e,i)}else AdsLight.onGPTRenderUnsuccessful(e,i)}else AdsLight.onGPTRenderUnsuccessful(e,i)}},60694:(e,t,i)=>{i(866282).AdsLight.init();try{window.stManager.done(window.jsc("web/ads_light.js"))}catch(e){}}},__webpack_module_cache__={},deferred,leafPrototypes,getProto;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var i=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(e,t,i,s)=>{if(!t){var a=1/0;for(r=0;r<deferred.length;r++){for(var[t,i,s]=deferred[r],d=!0,o=0;o<t.length;o++)(!1&s||a>=s)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[o])))?t.splice(o--,1):(d=!1,s<a&&(a=s));if(d){deferred.splice(r--,1);var n=i();void 0!==n&&(e=n)}}return e}s=s||0;for(var r=deferred.length;r>0&&deferred[r-1][2]>s;r--)deferred[r]=deferred[r-1];deferred[r]=[t,i,s]},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);__webpack_require__.r(i);var s={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var a=2&t&&e;"object"==typeof a&&!~leafPrototypes.indexOf(a);a=getProto(a))Object.getOwnPropertyNames(a).forEach((t=>s[t]=()=>e[t]));return s.default=()=>e,__webpack_require__.d(i,s),i},__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},__webpack_require__.e=()=>Promise.resolve(),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={73004:0};__webpack_require__.O.j=t=>0===e[t];var t=(t,i)=>{var s,a,[d,o,n]=i,r=0;for(s in o)__webpack_require__.o(o,s)&&(__webpack_require__.m[s]=o[s]);if(n)var _=n(__webpack_require__);for(t&&t(i);r<d.length;r++)a=d[r],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[d[r]]=0;return __webpack_require__.O(_)},i=self.webpackChunkvk=self.webpackChunkvk||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var __webpack_exports__=__webpack_require__.O(void 0,[68592],(()=>__webpack_require__(60694)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();